package com.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class PO {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer foodId;
    private Integer status;
    private Date createTime;
    private Date updateTime;

    public PO() {
    }

    public PO(Integer id, Integer userId, Integer foodId, Integer status, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.foodId = foodId;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
